package org.polaris.gift.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TenantOccupancyDTO {

    @NotBlank(message = "租户名不能为空")
    private String companyName; //租户名
    @NotBlank(message = "座机不能为空")
    private String companyNum; //座机
    @NotNull(message = "套餐不能为空")
    private List<Long> meal; //套餐ID
    @NotBlank(message = "租户地址不能为空")
    private String address; //租户地址
    //@NotBlank(message = "租户logo不能为空")
    private String logo; //租户logo
    @NotBlank(message = "管理员昵称不能为空")
    private String adminName;  //管理员昵称
    @NotBlank(message = "管理员手机不能为空")
    private String adminPhone; //管理员手机
    @NotBlank(message = "邮箱不能为空")
    private String email;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;

}
